package io.renren.modules.repair.service;

import com.baomidou.mybatisplus.extension.service.IService;
import io.renren.common.entity.CarTypeEntity;
import io.renren.common.utils.PageUtils;
import io.renren.common.utils.R;
import io.renren.modules.repair.entity.RepairEntity;
import io.renren.modules.repair.entity.RepairVo;
import io.renren.modules.repair.entity.req.RepairDeleteReq;
import io.renren.modules.repair.entity.req.UserRepairListReq;

import java.util.List;
import java.util.Map;

/**
 * 
 *
 * @author LL
 * @email wdlyl@163.com
 * @date 2022-04-12 14:48:24
 */
public interface RepairService extends IService<RepairEntity> {

    PageUtils queryPage(Map<String, Object> params);
    
    PageUtils queryUserRepairList(UserRepairListReq req);
    
    RepairVo getRepairInfo(Integer repairId);
    
    void deleteRepairByIds(RepairDeleteReq req);
    
    List<CarTypeEntity> listRepaidDict(String pid);
    
    R payRepair(Integer repairId);
}

